﻿using System; 
using System.Text;
using System.Data.SqlClient;
using System.Collections.Generic; 
using System.Data;
using DBUtility;

namespace XQ.SP.DalServices  
{
	 	//TestTemp
		public partial class TestTempDal : BaseDal
	{
   		     
		public bool ExistsWhere(string whereSql)
		{
			StringBuilder strSql=new StringBuilder();
			strSql.Append("select count(1) from TestTemp");
            if (whereSql != "")
            {
                strSql.Append(" where " + whereSql);
            }
			
			return DbHelperSQL.Exists(strSql.ToString());
		}
		public bool Exists(long id)
		{
			StringBuilder strSql=new StringBuilder();
			strSql.Append("select count(1) from [TestTemp]");
			strSql.Append(" where  [Id]=@Id ");
			SqlParameter[] parameters = {
					new SqlParameter("@Id", SqlDbType.BigInt)
			};
			parameters[0].Value = id;
			return DbHelperSQL.Exists(strSql.ToString(),parameters);
		}
		
				
		
		/// <summary>
		/// 增加一条数据
		/// </summary>
		public void Add(XQ.SP.Model.TestTempItem model)
		{
			StringBuilder strSql=new StringBuilder();
			strSql.Append("insert into [TestTemp](");			
            strSql.Append("[Temp1],[Temp2],[Temp3],[Temp4],[Temp5],[Temp6],[Temp7],[Temp8],[Temp9],[Temp10],[Temp11],[Temp12],[Temp13],[Temp14],[Temp15],[Temp16],[Temp17],[Temp18],[Temp19]");
			strSql.Append(") values (");
            strSql.Append("@Temp1,@Temp2,@Temp3,@Temp4,@Temp5,@Temp6,@Temp7,@Temp8,@Temp9,@Temp10,@Temp11,@Temp12,@Temp13,@Temp14,@Temp15,@Temp16,@Temp17,@Temp18,@Temp19");            
            strSql.Append(") ");            
            		
			SqlParameter[] parameters = {
			            new SqlParameter("@Temp1", SqlDbType.NVarChar,500) ,            
                        new SqlParameter("@Temp2", SqlDbType.NVarChar,500) ,            
                        new SqlParameter("@Temp3", SqlDbType.NVarChar,500) ,            
                        new SqlParameter("@Temp4", SqlDbType.NVarChar,500) ,            
                        new SqlParameter("@Temp5", SqlDbType.NVarChar,500) ,            
                        new SqlParameter("@Temp6", SqlDbType.NVarChar,500) ,            
                        new SqlParameter("@Temp7", SqlDbType.NVarChar,500) ,            
                        new SqlParameter("@Temp8", SqlDbType.NVarChar,500) ,            
                        new SqlParameter("@Temp9", SqlDbType.NVarChar,500) ,            
                        new SqlParameter("@Temp10", SqlDbType.NVarChar,500) ,            
                        new SqlParameter("@Temp11", SqlDbType.NVarChar,500) ,            
                        new SqlParameter("@Temp12", SqlDbType.NVarChar,500) ,            
                        new SqlParameter("@Temp13", SqlDbType.NVarChar,500) ,            
                        new SqlParameter("@Temp14", SqlDbType.NVarChar,500) ,            
                        new SqlParameter("@Temp15", SqlDbType.NVarChar,500) ,            
                        new SqlParameter("@Temp16", SqlDbType.NVarChar,500) ,            
                        new SqlParameter("@Temp17", SqlDbType.NVarChar,500) ,            
                        new SqlParameter("@Temp18", SqlDbType.NVarChar,500) ,            
                        new SqlParameter("@Temp19", SqlDbType.NVarChar,500)             
              
            };
			            
            parameters[0].Value = model.Temp1;                        
            parameters[1].Value = model.Temp2;                        
            parameters[2].Value = model.Temp3;                        
            parameters[3].Value = model.Temp4;                        
            parameters[4].Value = model.Temp5;                        
            parameters[5].Value = model.Temp6;                        
            parameters[6].Value = model.Temp7;                        
            parameters[7].Value = model.Temp8;                        
            parameters[8].Value = model.Temp9;                        
            parameters[9].Value = model.Temp10;                        
            parameters[10].Value = model.Temp11;                        
            parameters[11].Value = model.Temp12;                        
            parameters[12].Value = model.Temp13;                        
            parameters[13].Value = model.Temp14;                        
            parameters[14].Value = model.Temp15;                        
            parameters[15].Value = model.Temp16;                        
            parameters[16].Value = model.Temp17;                        
            parameters[17].Value = model.Temp18;                        
            parameters[18].Value = model.Temp19;                        
			            DbHelperSQL.ExecuteSql(strSql.ToString(),parameters);
            			
		}
		
		/// <summary>
		///   批量添加数据
		/// </summary>
		public int AddList(List<XQ.SP.Model.TestTempItem> models)
		{
			List<CommandInfo> commands = new List<CommandInfo>();
			foreach(XQ.SP.Model.TestTempItem item in models)
			{
				CommandInfo command = new CommandInfo();
				StringBuilder strSql=new StringBuilder();
				strSql.Append("insert into [TestTemp](");			
	            strSql.Append("[Temp1],[Temp2],[Temp3],[Temp4],[Temp5],[Temp6],[Temp7],[Temp8],[Temp9],[Temp10],[Temp11],[Temp12],[Temp13],[Temp14],[Temp15],[Temp16],[Temp17],[Temp18],[Temp19]");
				strSql.Append(") values (");
	            strSql.Append("@Temp1,@Temp2,@Temp3,@Temp4,@Temp5,@Temp6,@Temp7,@Temp8,@Temp9,@Temp10,@Temp11,@Temp12,@Temp13,@Temp14,@Temp15,@Temp16,@Temp17,@Temp18,@Temp19");            
	            strSql.Append(") ");            
	            		
				SqlParameter[] parameters = {
					            new SqlParameter("@Temp1", SqlDbType.NVarChar,500) ,            
	            	            new SqlParameter("@Temp2", SqlDbType.NVarChar,500) ,            
	            	            new SqlParameter("@Temp3", SqlDbType.NVarChar,500) ,            
	            	            new SqlParameter("@Temp4", SqlDbType.NVarChar,500) ,            
	            	            new SqlParameter("@Temp5", SqlDbType.NVarChar,500) ,            
	            	            new SqlParameter("@Temp6", SqlDbType.NVarChar,500) ,            
	            	            new SqlParameter("@Temp7", SqlDbType.NVarChar,500) ,            
	            	            new SqlParameter("@Temp8", SqlDbType.NVarChar,500) ,            
	            	            new SqlParameter("@Temp9", SqlDbType.NVarChar,500) ,            
	            	            new SqlParameter("@Temp10", SqlDbType.NVarChar,500) ,            
	            	            new SqlParameter("@Temp11", SqlDbType.NVarChar,500) ,            
	            	            new SqlParameter("@Temp12", SqlDbType.NVarChar,500) ,            
	            	            new SqlParameter("@Temp13", SqlDbType.NVarChar,500) ,            
	            	            new SqlParameter("@Temp14", SqlDbType.NVarChar,500) ,            
	            	            new SqlParameter("@Temp15", SqlDbType.NVarChar,500) ,            
	            	            new SqlParameter("@Temp16", SqlDbType.NVarChar,500) ,            
	            	            new SqlParameter("@Temp17", SqlDbType.NVarChar,500) ,            
	            	            new SqlParameter("@Temp18", SqlDbType.NVarChar,500) ,            
	            	            new SqlParameter("@Temp19", SqlDbType.NVarChar,500)             
	              
	            };
	            				            
	            parameters[0].Value = item.Temp1;	                        
	            parameters[1].Value = item.Temp2;	                        
	            parameters[2].Value = item.Temp3;	                        
	            parameters[3].Value = item.Temp4;	                        
	            parameters[4].Value = item.Temp5;	                        
	            parameters[5].Value = item.Temp6;	                        
	            parameters[6].Value = item.Temp7;	                        
	            parameters[7].Value = item.Temp8;	                        
	            parameters[8].Value = item.Temp9;	                        
	            parameters[9].Value = item.Temp10;	                        
	            parameters[10].Value = item.Temp11;	                        
	            parameters[11].Value = item.Temp12;	                        
	            parameters[12].Value = item.Temp13;	                        
	            parameters[13].Value = item.Temp14;	                        
	            parameters[14].Value = item.Temp15;	                        
	            parameters[15].Value = item.Temp16;	                        
	            parameters[16].Value = item.Temp17;	                        
	            parameters[17].Value = item.Temp18;	                        
	            parameters[18].Value = item.Temp19;	            	            
	         	command.CommandText = strSql.ToString();
	         	command.Parameters = parameters;
	         	
	         	commands.Add(command);
	         }
            
			object obj = DbHelperSQL.ExecuteSqlTran(commands);			
			if (obj == null)
			{
				return 0;
			}
			else
			{
            	return Convert.ToInt32(obj);
			}
			
           
		}
		
		
		/// <summary>
		/// 批量更新数据
		/// </summary>
		public int UpdateList(List<XQ.SP.Model.TestTempItem> models)
		{
			List<CommandInfo> commands = new List<CommandInfo>();
			CommandInfo command = new CommandInfo();
			
			foreach(XQ.SP.Model.TestTempItem item in models)
			{
					StringBuilder strSql=new StringBuilder();
					strSql.Append("update [TestTemp] set ");
							                        
		            strSql.Append(" [Temp1] = @Temp1 , ");		            		                        
		            strSql.Append(" [Temp2] = @Temp2 , ");		            		                        
		            strSql.Append(" [Temp3] = @Temp3 , ");		            		                        
		            strSql.Append(" [Temp4] = @Temp4 , ");		            		                        
		            strSql.Append(" [Temp5] = @Temp5 , ");		            		                        
		            strSql.Append(" [Temp6] = @Temp6 , ");		            		                        
		            strSql.Append(" [Temp7] = @Temp7 , ");		            		                        
		            strSql.Append(" [Temp8] = @Temp8 , ");		            		                        
		            strSql.Append(" [Temp9] = @Temp9 , ");		            		                        
		            strSql.Append(" [Temp10] = @Temp10 , ");		            		                        
		            strSql.Append(" [Temp11] = @Temp11 , ");		            		                        
		            strSql.Append(" [Temp12] = @Temp12 , ");		            		                        
		            strSql.Append(" [Temp13] = @Temp13 , ");		            		                        
		            strSql.Append(" [Temp14] = @Temp14 , ");		            		                        
		            strSql.Append(" [Temp15] = @Temp15 , ");		            		                        
		            strSql.Append(" [Temp16] = @Temp16 , ");		            		                        
		            strSql.Append(" [Temp17] = @Temp17 , ");		            		                        
		            strSql.Append(" [Temp18] = @Temp18 , ");		            		                        
		            strSql.Append(" [Temp19] = @Temp19  ");		            			
					strSql.Append(" where [Id]=@Id ");
								
					SqlParameter[] parameters = {
							            new SqlParameter("@Temp1", SqlDbType.NVarChar,500) ,		            
		            		            new SqlParameter("@Temp2", SqlDbType.NVarChar,500) ,		            
		            		            new SqlParameter("@Temp3", SqlDbType.NVarChar,500) ,		            
		            		            new SqlParameter("@Temp4", SqlDbType.NVarChar,500) ,		            
		            		            new SqlParameter("@Temp5", SqlDbType.NVarChar,500) ,		            
		            		            new SqlParameter("@Temp6", SqlDbType.NVarChar,500) ,		            
		            		            new SqlParameter("@Temp7", SqlDbType.NVarChar,500) ,		            
		            		            new SqlParameter("@Temp8", SqlDbType.NVarChar,500) ,		            
		            		            new SqlParameter("@Temp9", SqlDbType.NVarChar,500) ,		            
		            		            new SqlParameter("@Temp10", SqlDbType.NVarChar,500) ,		            
		            		            new SqlParameter("@Temp11", SqlDbType.NVarChar,500) ,		            
		            		            new SqlParameter("@Temp12", SqlDbType.NVarChar,500) ,		            
		            		            new SqlParameter("@Temp13", SqlDbType.NVarChar,500) ,		            
		            		            new SqlParameter("@Temp14", SqlDbType.NVarChar,500) ,		            
		            		            new SqlParameter("@Temp15", SqlDbType.NVarChar,500) ,		            
		            		            new SqlParameter("@Temp16", SqlDbType.NVarChar,500) ,		            
		            		            new SqlParameter("@Temp17", SqlDbType.NVarChar,500) ,		            
		            		            new SqlParameter("@Temp18", SqlDbType.NVarChar,500) ,		            
		            		            new SqlParameter("@Temp19", SqlDbType.NVarChar,500) 		            
		              
		            };
		            					            
		            parameters[0].Value = item.Temp1;		                        
		            parameters[1].Value = item.Temp2;		                        
		            parameters[2].Value = item.Temp3;		                        
		            parameters[3].Value = item.Temp4;		                        
		            parameters[4].Value = item.Temp5;		                        
		            parameters[5].Value = item.Temp6;		                        
		            parameters[6].Value = item.Temp7;		                        
		            parameters[7].Value = item.Temp8;		                        
		            parameters[8].Value = item.Temp9;		                        
		            parameters[9].Value = item.Temp10;		                        
		            parameters[10].Value = item.Temp11;		                        
		            parameters[11].Value = item.Temp12;		                        
		            parameters[12].Value = item.Temp13;		                        
		            parameters[13].Value = item.Temp14;		                        
		            parameters[14].Value = item.Temp15;		                        
		            parameters[15].Value = item.Temp16;		                        
		            parameters[16].Value = item.Temp17;		                        
		            parameters[17].Value = item.Temp18;		                        
		            parameters[18].Value = item.Temp19;		            		            
	            command.CommandText = strSql.ToString();
	         	command.Parameters = parameters;
	         	commands.Add(command);
	         }
            
            int rows=DbHelperSQL.ExecuteSqlTran(commands);
			return rows;

		}
		
		/// <summary>
		/// 更新一条数据
		/// </summary>
		public bool Update(XQ.SP.Model.TestTempItem model)
		{
			StringBuilder strSql=new StringBuilder();
			strSql.Append("update [TestTemp] set ");
			                        
            strSql.Append(" [Temp1] = @Temp1 , ");                                    
            strSql.Append(" [Temp2] = @Temp2 , ");                                    
            strSql.Append(" [Temp3] = @Temp3 , ");                                    
            strSql.Append(" [Temp4] = @Temp4 , ");                                    
            strSql.Append(" [Temp5] = @Temp5 , ");                                    
            strSql.Append(" [Temp6] = @Temp6 , ");                                    
            strSql.Append(" [Temp7] = @Temp7 , ");                                    
            strSql.Append(" [Temp8] = @Temp8 , ");                                    
            strSql.Append(" [Temp9] = @Temp9 , ");                                    
            strSql.Append(" [Temp10] = @Temp10 , ");                                    
            strSql.Append(" [Temp11] = @Temp11 , ");                                    
            strSql.Append(" [Temp12] = @Temp12 , ");                                    
            strSql.Append(" [Temp13] = @Temp13 , ");                                    
            strSql.Append(" [Temp14] = @Temp14 , ");                                    
            strSql.Append(" [Temp15] = @Temp15 , ");                                    
            strSql.Append(" [Temp16] = @Temp16 , ");                                    
            strSql.Append(" [Temp17] = @Temp17 , ");                                    
            strSql.Append(" [Temp18] = @Temp18 , ");                                    
            strSql.Append(" [Temp19] = @Temp19  ");            			
			strSql.Append(" where [Id]=@Id  ");
						
			SqlParameter[] parameters = {
			            new SqlParameter("@Temp1", SqlDbType.NVarChar,500) ,            
                        new SqlParameter("@Temp2", SqlDbType.NVarChar,500) ,            
                        new SqlParameter("@Temp3", SqlDbType.NVarChar,500) ,            
                        new SqlParameter("@Temp4", SqlDbType.NVarChar,500) ,            
                        new SqlParameter("@Temp5", SqlDbType.NVarChar,500) ,            
                        new SqlParameter("@Temp6", SqlDbType.NVarChar,500) ,            
                        new SqlParameter("@Temp7", SqlDbType.NVarChar,500) ,            
                        new SqlParameter("@Temp8", SqlDbType.NVarChar,500) ,            
                        new SqlParameter("@Temp9", SqlDbType.NVarChar,500) ,            
                        new SqlParameter("@Temp10", SqlDbType.NVarChar,500) ,            
                        new SqlParameter("@Temp11", SqlDbType.NVarChar,500) ,            
                        new SqlParameter("@Temp12", SqlDbType.NVarChar,500) ,            
                        new SqlParameter("@Temp13", SqlDbType.NVarChar,500) ,            
                        new SqlParameter("@Temp14", SqlDbType.NVarChar,500) ,            
                        new SqlParameter("@Temp15", SqlDbType.NVarChar,500) ,            
                        new SqlParameter("@Temp16", SqlDbType.NVarChar,500) ,            
                        new SqlParameter("@Temp17", SqlDbType.NVarChar,500) ,            
                        new SqlParameter("@Temp18", SqlDbType.NVarChar,500) ,            
                        new SqlParameter("@Temp19", SqlDbType.NVarChar,500)             
              
            };
            			            
            parameters[0].Value = model.Temp1;                        
            parameters[1].Value = model.Temp2;                        
            parameters[2].Value = model.Temp3;                        
            parameters[3].Value = model.Temp4;                        
            parameters[4].Value = model.Temp5;                        
            parameters[5].Value = model.Temp6;                        
            parameters[6].Value = model.Temp7;                        
            parameters[7].Value = model.Temp8;                        
            parameters[8].Value = model.Temp9;                        
            parameters[9].Value = model.Temp10;                        
            parameters[10].Value = model.Temp11;                        
            parameters[11].Value = model.Temp12;                        
            parameters[12].Value = model.Temp13;                        
            parameters[13].Value = model.Temp14;                        
            parameters[14].Value = model.Temp15;                        
            parameters[15].Value = model.Temp16;                        
            parameters[16].Value = model.Temp17;                        
            parameters[17].Value = model.Temp18;                        
            parameters[18].Value = model.Temp19;                        
            int rows=DbHelperSQL.ExecuteSql(strSql.ToString(),parameters);
			if (rows > 0)
			{
				return true;
			}
			else
			{
				return false;
			}
		}
		
		
		
		/// <summary>
		/// 删除一条数据
		/// </summary>
		public bool Delete()
		{
			
			StringBuilder strSql=new StringBuilder();
			strSql.Append("delete from TestTemp ");
			strSql.Append(" where Id=@Id  ");
						SqlParameter[] parameters = {
			};


			int rows=DbHelperSQL.ExecuteSql(strSql.ToString(),parameters);
			if (rows > 0)
			{
				return true;
			}
			else
			{
				return false;
			}
		}
		
				
		
		/// <summary>
		/// 得到一个对象实体
		/// </summary>
		public XQ.SP.Model.TestTempItem GetModel()
		{
			
			StringBuilder strSql=new StringBuilder();
			strSql.Append("select Temp1, Temp2, Temp3, Temp4, Temp5, Temp6, Temp7, Temp8, Temp9, Temp10, Temp11, Temp12, Temp13, Temp14, Temp15, Temp16, Temp17, Temp18, Temp19  ");			
			strSql.Append("  from TestTemp ");
			strSql.Append(" where Id=@Id  ");
						SqlParameter[] parameters = {
			};

			
			XQ.SP.Model.TestTempItem model=new XQ.SP.Model.TestTempItem();
			DataSet ds=DbHelperSQL.Query(strSql.ToString(),parameters);
			
			if(ds.Tables[0].Rows.Count>0)
			{
																model.Temp1= ds.Tables[0].Rows[0]["Temp1"].ToString();
																																model.Temp2= ds.Tables[0].Rows[0]["Temp2"].ToString();
																																model.Temp3= ds.Tables[0].Rows[0]["Temp3"].ToString();
																																model.Temp4= ds.Tables[0].Rows[0]["Temp4"].ToString();
																																model.Temp5= ds.Tables[0].Rows[0]["Temp5"].ToString();
																																model.Temp6= ds.Tables[0].Rows[0]["Temp6"].ToString();
																																model.Temp7= ds.Tables[0].Rows[0]["Temp7"].ToString();
																																model.Temp8= ds.Tables[0].Rows[0]["Temp8"].ToString();
																																model.Temp9= ds.Tables[0].Rows[0]["Temp9"].ToString();
																																model.Temp10= ds.Tables[0].Rows[0]["Temp10"].ToString();
																																model.Temp11= ds.Tables[0].Rows[0]["Temp11"].ToString();
																																model.Temp12= ds.Tables[0].Rows[0]["Temp12"].ToString();
																																model.Temp13= ds.Tables[0].Rows[0]["Temp13"].ToString();
																																model.Temp14= ds.Tables[0].Rows[0]["Temp14"].ToString();
																																model.Temp15= ds.Tables[0].Rows[0]["Temp15"].ToString();
																																model.Temp16= ds.Tables[0].Rows[0]["Temp16"].ToString();
																																model.Temp17= ds.Tables[0].Rows[0]["Temp17"].ToString();
																																model.Temp18= ds.Tables[0].Rows[0]["Temp18"].ToString();
																																model.Temp19= ds.Tables[0].Rows[0]["Temp19"].ToString();
																										
				return model;
			}
			else
			{
				return null;
			}
		}
		
		
		/// <summary>
		/// 得到一个对象实体
		/// </summary>
		public XQ.SP.Model.TestTempItem GetModelWhereStr(string whereStr)
		{
			
			StringBuilder strSql=new StringBuilder();
			strSql.Append("select Temp1, Temp2, Temp3, Temp4, Temp5, Temp6, Temp7, Temp8, Temp9, Temp10, Temp11, Temp12, Temp13, Temp14, Temp15, Temp16, Temp17, Temp18, Temp19  ");			
			strSql.Append("  from TestTemp ");
            if (whereStr != "")
            {
                strSql.Append(" where "+whereStr);
            }
			
			XQ.SP.Model.TestTempItem model=new XQ.SP.Model.TestTempItem();
			DataSet ds=DbHelperSQL.Query(strSql.ToString());
			
			if(ds.Tables[0].Rows.Count>0)
			{
																model.Temp1= ds.Tables[0].Rows[0]["Temp1"].ToString();
																																model.Temp2= ds.Tables[0].Rows[0]["Temp2"].ToString();
																																model.Temp3= ds.Tables[0].Rows[0]["Temp3"].ToString();
																																model.Temp4= ds.Tables[0].Rows[0]["Temp4"].ToString();
																																model.Temp5= ds.Tables[0].Rows[0]["Temp5"].ToString();
																																model.Temp6= ds.Tables[0].Rows[0]["Temp6"].ToString();
																																model.Temp7= ds.Tables[0].Rows[0]["Temp7"].ToString();
																																model.Temp8= ds.Tables[0].Rows[0]["Temp8"].ToString();
																																model.Temp9= ds.Tables[0].Rows[0]["Temp9"].ToString();
																																model.Temp10= ds.Tables[0].Rows[0]["Temp10"].ToString();
																																model.Temp11= ds.Tables[0].Rows[0]["Temp11"].ToString();
																																model.Temp12= ds.Tables[0].Rows[0]["Temp12"].ToString();
																																model.Temp13= ds.Tables[0].Rows[0]["Temp13"].ToString();
																																model.Temp14= ds.Tables[0].Rows[0]["Temp14"].ToString();
																																model.Temp15= ds.Tables[0].Rows[0]["Temp15"].ToString();
																																model.Temp16= ds.Tables[0].Rows[0]["Temp16"].ToString();
																																model.Temp17= ds.Tables[0].Rows[0]["Temp17"].ToString();
																																model.Temp18= ds.Tables[0].Rows[0]["Temp18"].ToString();
																																model.Temp19= ds.Tables[0].Rows[0]["Temp19"].ToString();
																										
				return model;
			}
			else
			{
				return null;
			}
		}
		
		/// <summary>
		/// 获得数据列表
		/// </summary>
		public DataSet GetList(string strWhere)
		{
			StringBuilder strSql=new StringBuilder();
			strSql.Append("select * ");
			strSql.Append(" FROM TestTemp ");
			if(strWhere.Trim()!="")
			{
				strSql.Append(" where "+strWhere);
			}
			return DbHelperSQL.Query(strSql.ToString());
		}
		
		/// <summary>
		/// 获得前几行数据
		/// </summary>
		public DataSet GetList(int Top,string strWhere,string filedOrder)
		{
			StringBuilder strSql=new StringBuilder();
			strSql.Append("select ");
			if(Top>0)
			{
				strSql.Append(" top "+Top.ToString());
			}
			strSql.Append(" * ");
			strSql.Append(" FROM TestTemp ");
			if(strWhere.Trim()!="")
			{
				strSql.Append(" where "+strWhere);
			}
			strSql.Append(" order by " + filedOrder);
			return DbHelperSQL.Query(strSql.ToString());
		}
		
	}
}

